.TH "AVI1File" 3 "13 Oct 2009" "Version 2" "zebulon" \" -*- nroff -*-
.ad l
.nh
.SH NAME
AVI1File \- 
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <avi.h>\fP
.PP
Inherits \fBAVIFile\fP.
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "virtual void \fBInit\fP (int format, int sampleFrequency, int indexType)"
.br
.ti -1c
.RI "virtual bool \fBWriteFrame\fP (\fBFrame\fP *frame)"
.br
.ti -1c
.RI "virtual void \fBWriteRIFF\fP (void)"
.br
.ti -1c
.RI "virtual void \fBsetDVINFO\fP (DVINFO &)"
.br
.in -1c
.SH "Detailed Description"
.PP 
writing Type 1 DV AVIs 
.SH "Member Function Documentation"
.PP 
.SS "void AVI1File::Init (int format, int sampleFrequency, int indexType)\fC [virtual]\fP"Initialize the AVI structure to its initial state, either for PAL or NTSC format
.PP
Initialize the \fBAVIFile\fP attributes: mainHdr, indx, ix00, idx1
.PP
\fBTodo\fP
.RS 4
consolidate \fBAVIFile::Init\fP, \fBAVI1File::Init\fP, \fBAVI2File::Init\fP. They are somewhat redundant. 
.RE
.PP
\fBParameters:\fP
.RS 4
\fIformat\fP pass AVI_PAL or AVI_NTSC 
.br
\fIsampleFrequency\fP the sample frequency of the audio content 
.br
\fIindexType\fP pass AVI_SMALL_INDEX or AVI_LARGE_INDEX 
.RE
.PP

.PP
Reimplemented from \fBAVIFile\fP.
.SS "void AVI1File::WriteRIFF (void)\fC [virtual]\fP"Writes out the directory structure
.PP
For all items in the directory list that have not been written yet, it seeks to the file position where that item should be stored and writes the type and length field. If the item has a name, it will also write the name field.
.PP
\fBNote:\fP
.RS 4
It does not write the contents of any item. Use WriteChunk to do that. 
.RE
.PP

.PP
Reimplemented from \fBAVIFile\fP.

.SH "Author"
.PP 
Generated automatically by Doxygen for zebulon from the source code.
